package org.spbu.ir.dictionary;

import java.io.IOException;

public interface Dictionary {
    long getWordId(Word w) throws IOException;
    long addWord(Word w) throws IOException;
}
